<!DOCTYPE html>
<html style="height: 100%;">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>TextEditor</title>
    <script src="static/artDialog/lib/jquery-1.10.2.js" type="text/javascript"></script>
    <link href="static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="static/bootstrapQ/qiao.css" rel="stylesheet">
    <script src="static/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
	<script src="static/bootstrapQ/qiao.js" type="text/javascript"></script>
    <script type="text/javascript" src="js/common.js"></script>
    <script type="text/javascript" src="js/base64.js"></script>
    <script type="text/javascript" src="js/DocSys.js"></script>

    <!-- editormd -->
	<link href="static/markdown/css/editormd.min.css" rel="stylesheet">
	<link href="static/markdown/css/add.css" rel="stylesheet">
	<script src="static/markdown/editormd.js" type="text/javascript"></script>
    <script src="static/markdown/plugins/link-dialog/link-dialog.js" type="text/javascript"></script>
    <script src="static/markdown/plugins/reference-link-dialog/reference-link-dialog.js" type="text/javascript"></script>
    <script src="static/markdown/plugins/image-dialog/image-dialog.js" type="text/javascript"></script>
    <script src="static/markdown/plugins/code-block-dialog/code-block-dialog.js" type="text/javascript"></script>
    <script src="static/markdown/plugins/table-dialog/table-dialog.js" type="text/javascript"></script>
    <script src="static/markdown/plugins/emoji-dialog/emoji-dialog.js" type="text/javascript"></script>
    <script src="static/markdown/plugins/goto-line-dialog/goto-line-dialog.js" type="text/javascript"></script>
    <script src="static/markdown/plugins/help-dialog/help-dialog.js" type="text/javascript"></script>
    <script src="static/markdown/plugins/html-entities-dialog/html-entities-dialog.js" type="text/javascript"></script>
    <script src="static/markdown/plugins/preformatted-text-dialog/preformatted-text-dialog.js" type="text/javascript"></script>
	<script src="static/markdown/lib/raphael.min.js" type="application/javascript"></script>
	
	<script type="text/javascript" src="js/EditormdEditor.js"></script>
    <script type="text/javascript" src="js/CommonEditor.js"></script>
    
    <style type="text/css" media="screen">
	  body {
	      overflow: hidden;
	  }
	
	  #editor {
	      margin: 40px 0 0 0;
	      position: absolute;
	      top: 0;
	      bottom: 0;
	      left: 0;
	      right: 0;
	  }
	  
	  .editormd-preview{
            left: 0 !important;
            right: auto !important;
      }

      .editormd .CodeMirror {
            float: right !important;
      }
	</style>
</head>
<body style="height: 100%; margin: 0;">
    <div>
		<div id="textEditor">
			<div class="textEditorContent" style="min-height: 600px;">
				<div id="mdPlayer">
				</div>
			</div>
		</div>
    </div>
	<script type="text/javascript">
		//页面加载完成处理函数
		$(document).ready(function () {
			EditormdEditor.init("NewPage");
		});	
    </script>
</body>
</html>